cmake_minimum_required(VERSION 3.17)
project(add_exe_1)

add_executable(main main.cpp)

set_property(TARGET main PROPERTY OUTPUT_NAME new_main)
get_property(var TARGET main PROPERTY OUTPUT_NAME)
message(STATUS "OUTPUT_NAME = ${var}")
